package com.sicent.app0013.operate.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicent.app0013.operate.dao.BarCommentDao;
import com.sicent.app0013.operate.model.BarComment;

@Service
public class BarCommentService {
   
	@Autowired
	private BarCommentDao barCommentDao;
	
	public BarComment getById(Integer commentId){
		return barCommentDao.getById(commentId);
	}
	
	public BarComment getById2(Integer commentId){
		return barCommentDao.getById(commentId);
	}
	
	public int getCountByCondition(Map<String, Object> map){
		return barCommentDao.getCountByCondition(map);
	}
}
